<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

<script>
app = angular.module('sandbox', []);
app.controller('cont', ['$scope', '$http', function($scope, $http) {
	
	$scope.dummy;
	$scope.func = function () {
		/* $http.get(host_url +"/loginService/{\"username\":\"evrim\",\"password\":\"asfa\"}", {headers: {'Authorization': 'Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=='}})
		.success(function(response) {
			$scope.dummy = response;
		} */
	}
}
</script>

</head>

<body ng-app="sandbox">
<div ng-controller="cont">
<div ng-click="func()>bas</div>
{{dummy}}
</div>





</body>

</html>